package MySql;

public class Goods {
    private String id;
    private String kind;
    private String title;
    private String brief;
    private Double price;
    private String img;

    public Goods() {
    }

    public Goods(String id, String kind, String title, String brief, Double price, String img) {
        this.id = id;
        this.kind = kind;
        this.title = title;
        this.brief = brief;
        this.price = price;
        this.img = img;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getKind() {
        return kind;
    }

    public void setKind(String kind) {
        this.kind = kind;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getBrief() {
        return brief;
    }

    public void setBrief(String brief) {
        this.brief = brief;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }



    @Override
    public String toString() {
        return "goods{" +
                "id='" + id + '\'' +
                ", kind='" + kind + '\'' +
                ", title='" + title + '\'' +
                ", brief='" + brief + '\'' +
                ", price='" + price + '\'' +
                ", img='" + img + '\'' +
                '}';
    }
}
